package com.example.demo.service;

import com.example.demo.entiy.Categories;

import java.util.List;

public interface CategoriesService {
    public List<Categories> getAllCategoriesList();

    public int getIdByAidAndCid(Integer articleId,Integer categoriesId);

    public int updateCategoriesBuId(Integer categoriesId,Integer id);

    public int insertCategories(Integer articleId,Integer categoriesId);

    public int deleteByArticleId(Integer articleId);
}
